.validateBox {
  :global(.site-tree-search-value) {
    color: #f50 !important;
  }

  .tip {
    color: #666;
    font-size: 14px;
  }

  .error {
    display: flex;
    align-items: center;

    .label {
      margin-right: 20px;
    }

    .input {
      width: 760px;
    }
  }

  .titieBox {
    height: 28px;
    margin-bottom: 8px;
    border-bottom: #eeeeee solid 1px;
  }

  // 公式
  .formula {
    height: 150px;
    margin: 10px 0;
    border: solid 1px #eee;
    border-radius: 4px;

    .text {
      padding-left: 20px;
      background: #d0f1ff;
    }
  }

  // 可用变量，函数，详情
  .content {
    display: flex;

    .varBox,
    .fnBox,
    .descBox {
      margin: 10px;
      padding: 10px;
      border: solid 1px #eee;
      border-radius: 4px;
    }

    .varBox {
      width: 25%;
      margin-left: 0;
    }

    .fnBox {
      width: 30%;
    }

    .descBox {
      width: 45%;
      margin-right: 0;
    }
  }

  // 添加规则 页脚
  .footer {
    display: flex;
    justify-content: end;

    .btn {
      margin-right: 20px;
    }
  }

  .treeContent {
    height: calc(100vh - 470px);
    overflow-y: auto;

    .varItem {
      // .text {}

      .tab {
        margin-left: 10px;
        padding: 0 5px;
        color: #248af9;
        font-size: 12px;
        background: rgba(36, 138, 249, 0.1);
        border-radius: 10px;
      }
    }
  }
}

// 添加规则 页脚
.footer {
  display: flex;
  justify-content: end;

  .btn {
    margin-right: 20px;
  }
}

.showItem {
  position: relative;
  margin: 20px 0 20px 0;
  padding-bottom: 20px;
  color: #777;
  border-bottom: #f1f1f1 solid 1px;

  .title {
    color: #000;
  }

  .operate {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    width: 70px;

    .edit {
      color: #1890ff;
      cursor: pointer;
    }

    .delete {
      color: rgb(245, 60, 60);
      cursor: pointer;
    }
  }
}
